home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / comm / net / anos_2_9i.lha / AmigaNOS / TCPIP / Digger / DataBase.lzh / AMPRNews.103 < prev    next >
Text File  |  1992-06-23  |  7KB  |  216 lines

  1.  
  2.  
  3.                   UK AMPRNET TCP/IP Newsletter
  4.  
  5.  
  6.                        Mike Chace - G6DHU
  7.  
  8.                   Issue 3 Volume 1 - May 1991
  9.  
  10.  
  11.   1.  Introduction 
  12.  
  13.   Well, there's very little to report on the software front in 
  14.   this issue.    Likewise,  I've  no  information to report on
  15.   network development.  Please, if  you've  got  a  reasonable
  16.   amount  of  activity  in  your  area,  then mail me and I'll
  17.   include the information in the next newsletter.  
  18.  
  19.  
  20.   2.  A Plea 
  21.  
  22.   Is  anyone  in   the   Swindon   area   reading   this   and
  23.   interested/active on  TCP/IP?  If so, please contact me with
  24.   a view to providing an IP link between Bath, Bristol and the 
  25.   Home Counties. Thanks.  
  26.  
  27.  
  28.   3.  Beginners Information Pack 
  29.  
  30.   The G6DHU TCP/IP Beginners Information  Package  is  now  at
  31.   v1.4,  having  added an updated KA9Q NOS manual and a manual
  32.   for the BM mailer.  The pack is  available from  me  at  the
  33.   address below on receipt of a suitably formatted (MSDOS 720k 
  34.   or Atari  ST)  3.5 inch disk and return postage.  A must for
  35.   anyone considering TCP/IP on Packet Radio!  
  36.  
  37.  
  38.   4.  Tutorial Time!  
  39.  
  40.   I've decided to devote this issue to some tutorial  material
  41.   on  the subject of how to connect to other IP stations using
  42.   the services of the NET/ROM node network.  So here goes....  
  43.  
  44.  
  45.   5.  Connecting to IP nodes using NET/ROM.  
  46.  
  47.   Let's take as our example, the  situation  where  G7YYY  and
  48.   G7ZZZ are 2 IP nodes.  They can't reach each other direct or 
  49.   via  digipeaters,  but  they both have a local NET/ROM node.
  50.   Let's make it a bit more realistic by saying  that  our  two
  51.   stations are separated by 3 network nodes as below :- 
  52.   
  53.   g7yyy-5    Node A ------- Node B ------- Node C    g7zzz-5
  54.  
  55.   I'm  also  going  to  assume  that  both  stations  use  the
  56.   conventional -5 SSID to denote an IP node.  
  57.  
  58.  
  59.   Using NET/ROM 
  60.  
  61.   The basic problem to overcome on the network node  side,  is
  62.   to make both IP node callsigns appear at the opposite end of 
  63.   the netrom link.  That is, G7ZZZ-5 appears in the node table 
  64.   of Node A and G7YYY-5 at Node C.  
  65.  
  66.   To  do  this, you will need to enlist the help of your local
  67.   node sysop.  The sysop can then 'lock in' each IP  node  and
  68.   give  it  a route quality that will allow it to traverse the
  69.   network ('propagate') to the opposite end  of  our  intended
  70.   link.   Once this is done, we are in a position to set up an
  71.   IP link to the other station using the netrom network.  
  72.  
  73.  
  74.   Setting Up IP to use netrom.  
  75.  
  76.   Both stations will need to start their netrom interfaces  to
  77.   be able  to  use netrom for sending IP frames.  This is done
  78.   by the  'attach  netrom'  command.    Starting  the   netrom
  79.   interface  will  allow  us to send and receive packets using
  80.   the netrom  protocol  and  to  make  connections  using  the
  81.   services of netrom.  
  82.  
  83.   There   are   lots   of   other   commands   which  set  the
  84.   characteristics of the netrom interface ('netrom  ...')  but
  85.   the  defaults should be good enough for the purposes of this
  86.   discussion.  
  87.  
  88.   Once we set the netrom interface going, we will periodically 
  89.   send a broadcast using the netrom protocol  which  announces
  90.   the existance  of  our netrom node to the local nodes.  Once
  91.   such a broadcast is heard, and we are  'locked  in'  to  the
  92.   local  node,  our netrom callsign will propagate through the
  93.   network.  
  94.  
  95.  
  96.   6.  Using IP over netrom.  
  97.  
  98.  
  99.   Using the Address Resolution Protocol (ARP) 
  100.  
  101.   Where have we got to now ?  Well, we are ready to use netrom 
  102.   to forward our IP traffic across the network to  our  remote
  103.   station.   We've  done  the important work of setting up the
  104.   network for us to use, so all we need to do  is  setup  each
  105.   end of the link to send IP across netrom.  
  106.  
  107.   The  first  thing  we need to do is tell NOS/NET what netrom
  108.   callsigns correspond to IP addresses so that we  can  'wrap'
  109.   node.  ARP (the Address Resolution Protocol) allows us to do 
  110.   this.  ARP tells our system which netrom callsign matches  a
  111.   give  IP  address,  so  for  instance,  G7ZZZ  would fix the
  112.   following ARP entry....  
  113.  
  114.        arp add g7yyy netrom g7yyy-5 
  115.  
  116.   This says, to reach host  g7yyy  (i.e  an  IP  address)  use
  117.   netrom and send the netrom packet to g7yyy-5.  
  118.  
  119.  
  120.   Setting the IP route.  
  121.  
  122.   As  usual  we  also  need to have an IP route to the station
  123.   that we wish to connect  to  using  netrom.    Again  taking
  124.   G7ZZZ's point of view, the command is...  
  125.  
  126.        route add g7yyy netrom 
  127.  
  128.   This  just  says  that  the  IP  route to g7yyy will use the
  129.   netrom interface.  
  130.  
  131.  
  132.   7.  Netrom Routing.  
  133.  
  134.   That's just about all there is to setting up a route  across
  135.   netrom.   There are probably one or two finishing touches to
  136.   apply and this concerns setting up local netrom routes.  
  137.  
  138.   As I mentioned  before,  the  netrom  network  functions  by
  139.   periodic  (usually every half an hour) broadcasts which send
  140.   information to local nodes about which nodes can be  reached
  141.   from the  node  currently  broadcasting.   So, in our model,
  142.   g7yyy will receive broadcasts from Node  A  and  g7zzz  from
  143.   Node C.  
  144.  
  145.   We  usually don't want to have to wait an hour or so for all
  146.   this information to be gleaned from  broadcasts  (especially
  147.   at  switch  on) so we can fix our own netrom routes locally.
  148.   These routes will then be updated in the light of subsequent 
  149.   broadcasts from the local node.  To fix netrom routes we can 
  150.   use the 'netrom route add ...' command.  
  151.  
  152.   So, taking G7ZZZ as our example, s/he could  set  up  netrom
  153.   routes as follows :- 
  154.  
  155.        netrom route add NodeA GB7AA ax0 50 GB7AA 
  156.  
  157.        netrom route add IP1010 G7YYY-5 ax0 50 GB7AA 
  158.  
  159.   The  first  command  sets up a direct route to G7ZZZ's local
  160.   node (which has an alias of NodeA and a callsign of  GB7AA).
  161.   The  second  command  sets up the netrom route to g7yyy's IP
  162.   node (via GB7AA).  
  163.  
  164.   As I mentioned earlier, you don't need to fix netrom routes, 
  165.   but it does mean that on switching on,  you  don't  have  to
  166.   wait  for  the netrom broadcasts to send you the information
  167.   which you already know.  
  168.  
  169.  
  170.   8.  Recap 
  171.  
  172.   Let's remind ourselves of the  steps  needed  to  get  links
  173.   across netrom going..  
  174.  
  175.        1)   Get your local node sysop to 'lock' your node into
  176.             the network. 
  177.  
  178.        1a)  Ensure  that  they set a high enough route quality
  179.             for you to reach your intended remote IP node.
  180.  
  181.        2)   Set up your netrom node  ('attach netrom')
  182.  
  183.        3)   Add  netrom  routes for your local node and remote
  184.             IP node.
  185.  
  186.             netrom route add .....   (local node)
  187.             netrom route add .....   (remote IP node)
  188.  
  189.        4)   Fix  the  ARP  entry,  mapping  an IP address to a
  190.             netrom callsign
  191.  
  192.             arp add .....
  193.  
  194.        5)   Fix the IP route to the remote station
  195.  
  196.             route add .....
  197.  
  198.  
  199.   9.  221 Closing.  
  200.  
  201.   Brickbats and bouquets (and perhaps an article or two ?) to 
  202.  
  203.        84 Frankland Close
  204.        Bath
  205.        Avon BA1 4EL
  206.  
  207.   or  via  email  (mikec@praxis.co.uk), AMPRNET g6dhu.ampr.org
  208.   [44.131.20.3] or NTS (G6DHU @ GB7IMB).  
  209.  
  210.   73, Mike 
  211.  
  212.             [End of Newsletter]
  213.  
  214.  
  215.  
  216.